{% extends 'layout.html' %}
{% block content %}
    <form method="post">
    {% csrf_token %}
        <div class="form-group">
            {% for data in edit_form %}
                <div class="form-group">
                    {{ data.label }}:<label>{{ data }}</label>
                    {{ data.errors.0 }}
                </div>
            {% endfor %}
        </div>
        <button type="submit" class="btn btn-default">提交</button>
    </form>
{% endblock %}